package com.mrjy.maintain.bo;

import java.util.List;
import com.mrjy.common.entity.UserBalanceInfo;
import com.mrjy.common.entity.UserInfo;

public interface IUserBalanceInfoBo {
	
	public String insertUserBalance(UserBalanceInfo userBalanceInfo);
	
	public int insertBatch(List<UserBalanceInfo> userBalanceInfos);

	/**
	 * 查询个人余额信息并更新
	 * @param userInfo
	 * @return
	 */
	public Object queryByUserId(UserInfo userInfo);
	
	
	/**
	 * 根据用户手机查询该手机是否注册会员
	 * @param mobilePhone
	 * @return
	 */
	public Object queryByMobielPhone(String  mobilePhone);
	
	/**
	 * 修改支付密码
	 * @param userInfo
	 * @param userBalanceInfo
	 * @param map
	 * @param mobilePhoneCode
	 * @return
	 */
	public Object resetPayPW(UserInfo userInfo,UserBalanceInfo userBalanceInfo,String mobilePhoneCode);
	
	public List<UserBalanceInfo> queryPageUserBalance(UserBalanceInfo userBalanceInfo);
	
	
}
